//
//  WRRouter.m
//  WRRouter
//
//  Created by wangrui on 2017/3/18.
//  Copyright © 2017年 wangrui. All rights reserved.
//

#import "WRRouter.h"

@interface WRRouter ()
@property (nonatomic, strong) NSMutableDictionary* routerUrls;
@end

@implementation WRRouter

+ (instancetype)shareInstance
{
    static WRRouter* instance = nil;
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        instance = [WRRouter new];
        instance.routerUrls = [NSMutableDictionary new];
    });
    return instance;
}

#pragma mark - 注册url
+ (void)RegisterUrl:(NSString*)urlStr handle:(handleBlock)handleBlock
{
    
}

#pragma mark - 打开url
+ (void)openURL:(NSString *)urlStr
{
    
}

@end
